package com.kinyx.framework.reflect;

import org.junit.Assert;
import org.junit.Test;

public class KTypeConverter_Tester_defaultValue {

	private byte b;
	private short s;
	private int i;
	private long l;
	private float f;
	private double d;
	private char c;
	private boolean flag;
	private String str;

	@Test
	public void test() {
		Assert.assertTrue(this.b == (byte) KTypeConverter.defaultValue(byte.class));
		Assert.assertTrue(this.s == (short) KTypeConverter.defaultValue(short.class));
		Assert.assertTrue(this.i == (int) KTypeConverter.defaultValue(int.class));
		Assert.assertTrue(this.l == (long) KTypeConverter.defaultValue(long.class));
		Assert.assertTrue(this.f == (float) KTypeConverter.defaultValue(float.class));
		Assert.assertTrue(this.d == (double) KTypeConverter.defaultValue(double.class));
		Assert.assertTrue(this.c == (char) KTypeConverter.defaultValue(char.class));
		Assert.assertTrue(this.flag == (boolean) KTypeConverter.defaultValue(boolean.class));
		Assert.assertTrue(this.str == (String) KTypeConverter.defaultValue(String.class));
	}

}
